package com.yc.navy.goods.feign.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.yc.navy.goods.dto.ShopInfoDTOO;
import com.yc.navy.goods.feign.IUserFeignClient;

@RestController
@RequestMapping("/shop")
public class UserShopFeignClientController {
	
	@Autowired
	private IUserFeignClient userFeignClient;
	
	@RequestMapping("/findShop")
	public ShopInfoDTOO findShop(Integer sid) {
		return userFeignClient.Shopone(sid);
	}
}
